<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../../css/mui.css" rel="stylesheet" />
		<link href="../../css/cssofmine.css" rel="stylesheet" />
		<link href="../../css/mui.picker.min.css" rel="stylesheet" />
		<style type="text/css">
			
			.input_left {
				float: left;
				width: 49%;
			}
			
			.input_right {
				float: right;
				width: 49%;
			}
			* {
				padding: 0;
				margin: 0;
				font-size: 14px;
			}.
						
            .xe-widget {
				background: #fff;
				padding: 0 20px;
				line-height: 1;
				display: table;
				width: calc(33.33333333% - 62px);
				border-radius: 5px;
				-webkit-border-radius: 5px;
				-webkit-background-clip: padding-box;
				-moz-border-radius: 5px;
				-moz-background-clip: padding;
				border: 1px solid #EDEDED;
				float: left;
				margin: 0 10px 20px 10px;
			}
			.dx-visibility {
				width: calc(100%  - 16px);
				background: #ffffff;
			
				-webkit-border-radius: 5px;
				-webkit-background-clip: padding-box;
				-moz-border-radius: 5px;
				-moz-background-clip: padding;
				border: 1px solid #EDEDED;
				margin-bottom: 20px;
			}

           .sm-12 {
				padding: 0 10px;
				min-height: 102px;
			}
            #salertable table {
				
				width: 100%;
			}

			#salertable th,
			#salertable td {
				border-bottom: 1px #ededed solid;
				text-align: center;
				align-content: center;
			}
			
			.input-box{
				width: 90%;
				margin: 0 auto;
			}
           
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">优惠信息</h1>
		</header>
		<div class="mui-content">

			<div style="margin-top: 15px;" class="logo">
				<img style="width: 50%;" src="../../img/xlc_logo.png"/>
			</div>
			<div class="heng" style="width: 100%; margin-bottom: 30px;"></div>
			<form id="new_discount_form" action="javascript:void(0)">					
				<input id="id" name="id" type="hidden" class="mui-input-clear" />
				<input id="stuid" name="stuid" type="hidden" class="mui-input-clear" />
				
			
					<div class="input-box">
						<h5>&nbsp;培训协议</h5>
						<input type="text" class="form-control" id="contractnumber" name="contractnumber"/>
					</div>
					
					<div class="input-box">
						<h5>&nbsp;学员姓名</h5>
						<input type="text" class="form-control" id="stuname" name="stuname"/>
					</div>
					<div class="input-box">
						<h5>&nbsp;签约课程</h5>
						<input type="text" class="form-control" id="coursename" name="coursename"/>
					</div>
					
					<div class="input-box">
						<div class="input-box " style="width: 49%; float: left;">
							<h5>&nbsp;课程定价</h5>
							<input type="number" class="form-control" id="amount" name="amount"/>
						</div>
						<div class="input-box" style="width: 49%; float: right;">
							<h5>&nbsp;协议金额</h5>
							<input type="number" class="form-control" id="tra_amount" name="tra_amount"/>
						</div>
					</div>
					
					
					<div class="input-box" >
						<div class="input-box" style="width: 49%; float: left;">
							<h5>&nbsp;已付金额</h5>
							<input type="number" class="form-control" id="amount_paid" name="amount_paid"  value="0"/>
						</div>
						<div class="input-box" style="width: 49%; float: right;">
							<h5>&nbsp;未付金额</h5>
							<input type="number" class="form-control" id="amount_notpaid" name="amount_notpaid" value="0"/>
						</div>
					</div>
		
				<div class="input-box">
					<div class="input-box" style="width: 49%; float: left;">
						<h5>&nbsp;优惠类型</h5>
						<input type="text" class="form-control" id="discounttype" name="discounttype" />
					</div>
					
					<div class="input-box" id="discountmode" style="width: 49%;  float: right;">
						<h5>&nbsp;优惠名称</h5>
						<input type="text" class="form-control" id="discountname" name="discountname"/>
					</div>
				</div>
				
				<div class="input-box">

					<div class="input-box" style="width: 49%; float: left;">
						<h5>&nbsp;优惠限额</h5>
						<input type="number" class="form-control" id="discountprice" name="discountprice"  readonly="readonly" / >
					</div>
					
					<div class="input-box" style="width: 49%;  float: right;">
						<h5>&nbsp;优惠金额</h5>
						<input type="number" class="form-control"  id="discountmoney" name="discountmoney"></input>
					</div>
				</div>
				<div  class="input-box"  >
					<h5>&nbsp;优惠折扣</h5>
					<input type="text" class="form-control" id="discount" name="discount" readonly="readonly" / >
				</div>
			
			</form>
								
			<!-- <div class="mui-content-padded mui-text-center" id="btn_submit_kh" >
				<button id='submit_kh' class="mui-btn-block mui-btn-primary" onclick="audit()" style="width:100%;">审核</button>
			</div>	 -->
			
			<div class="mui-button-row">
				<div id="submit" class="mui-content-padded mui-text-center">
					<button class="mui-btn-block mui-btn-primary input_left" onclick="pass();">通过</button>
					<button class="mui-btn-block mui-btn-primary input_right" onclick="noPass();">不通过</button>
				</div>
			</div>
		</div>

		<!-- <div id="modal" class="mui-modal bm_modal" style="margin-top: 70%;" >
			<header class="mui-bar mui-bar-nav">
				<a class="mui-icon mui-icon-close mui-pull-right" href="#modal"></a>
				<h1 class="mui-title">请填写审核信息</h1>
			</header>
			<div class="mui-content">
				<div class="row">
					<form id = "yy_form" action="javascript:void(0)">
								
						<h5>&nbsp;审核状态</h5>
						<div class="mui-input-row">
		                    <select class="form-control" id="auditstatis" name="auditstatis">
		                    	<option value = "">请选择..</option>
		                    	<option value="校长审核通过">通过</option>
			                    <option value="校长审核不通过">未通过</option>
							</select>
		                </div>
												
						<h5>&nbsp;审核说明</h5>												
					    <div class="mui-input-row">
							<input type="text" class = "mui-input-speech" id = "aduittext" name = "aduittext"></input>
					    </div>
												
					</form>					
				<div class="row">
				<div class="mui-content-padded mui-text-center mui-button-row">
					<button id='submit_yy' class="mui-btn-block mui-btn-primary " onclick="saveAuditResult()">提交</button>
				</div>
				
				
			</div>
			
		</div>	 -->

		<script src="../../js/config/mui.min.js"></script>
		<script src="../../js/config/mui.picker.min.js"></script>
		<script src="../../js/config/jquery.min.js"></script>
		<script src="../../js/config/vue.js"></script>
		<script src="../../js/config/form.js"></script>
		<script src="../../js/config/config.js"></script>
		<script src="../../js/rector/discount_form.js"></script>
	</body>

</html>